all:
	../contrib/pspgz.py usbdevice.prx ../contrib/SystemControl.hdr usbdevice.prx pspUsbDev_Driver 0x1006

TARGET = usbdevice
OBJS = main.o exports.o

INCDIR =  -I ../include
CFLAGS = -Os -G0 -Wall -fshort-wchar -fno-pic -mno-check-zero-division 
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
PSP_FW_VERSION=639

BUILD_PRX = 1
PRX_EXPORTS = exports.exp

USE_KERNEL_LIBC = 1
USE_KERNEL_LIBS = 1


LIBDIR = ../libs
LIBS = -lpspsystemctrl_kernel -lpspumd_kernel

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build_prx.mak
